|
2020-2021 Sunseeker Telemetry and Lighting System
|
#include "driverlib.h"Go to the source code of this file.
Functions | |
| void | main (void) |
| void | DMA0_ISR (void) |
| void DMA0_ISR | ( | void | ) |
Definition at line 190 of file adc10_a_ex9_repeatSeq.c.
References __bic_SR_register_on_exit().
| void main | ( | void | ) |
ADC10_A - Sample A1-0 Inputs directly to DMA, AVcc Ref, Repeat Seq.
MSP430F550x Demo Use DMA to sample A1/A0 repeat sequence 32x(64 total samples) with reference to AVcc. Software sets ADC10SC to trigger sample burst. In Mainloop MSP430 waits in LPM0 to save power until ADC10_A conversion complete, DMA_ISR will force exit from LPM0 in Mainloop. ADC10_A internal oscillator times sample period (16x) and conversion (13x). DMA transfers conversion code to ADC_Result.
MSP430F550x
-----------------
/|\| XIN|-
| | |
--|RST XOUT|-
| P6.1/A1|<- Sample Signal 1
| P6.0/A0|<- Sample Signal 2
| |
This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:
This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.
Definition at line 72 of file adc10_a_ex9_repeatSeq.c.
References __delay_cycles(), __no_operation(), i, and param.